package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.RoomEletricCharge;
import com.woniuxy.common.entity.RoomEletricChargeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomEletricChargeMapper {
    long countByExample(RoomEletricChargeExample example);

    int deleteByExample(RoomEletricChargeExample example);

    int deleteByPrimaryKey(String recId);

    int insert(RoomEletricCharge record);

    int insertSelective(RoomEletricCharge record);

    List<RoomEletricCharge> selectByExample(RoomEletricChargeExample example);

    RoomEletricCharge selectByPrimaryKey(String recId);

    int updateByExampleSelective(@Param("record") RoomEletricCharge record, @Param("example") RoomEletricChargeExample example);

    int updateByExample(@Param("record") RoomEletricCharge record, @Param("example") RoomEletricChargeExample example);

    int updateByPrimaryKeySelective(RoomEletricCharge record);

    int updateByPrimaryKey(RoomEletricCharge record);
}